package com.jian.springgateway.config;

import com.jian.springgateway.filter.CustomGlobalFilter;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GetawayConfig {
    @Bean
    public GlobalFilter customFilter(){
        return new CustomGlobalFilter();
    }
}
